<h1>Here are all lines</h1>

<table>
	<tr>
		<th>Name</th>
		<th>Description</th>
		<th>Created</th>
		<th>&nbsp;</th>
	</tr>
<?php foreach($this->line as $line) : ?>
	<tr>
		<td><?php echo $this->escape($line->name);?></td>
		<td><?php echo $this->escape($line->description);?></td>
		<td><?php echo $this->escape($line->created);?></td>
		<td>
			<a href="<?php echo $this->url(array('controller'=>'line',
			'action'=>'editline', 'id'=>$line->id));?>">Edit</a>
			<a href="<?php echo $this->url(array('controller'=>'line',
			'action'=>'deleteline', 'id'=>$line->id));?>">Delete</a>
		</td>
	</tr>
<?php endforeach; ?>
</table>